package com.zsrt.java.day20161223.wrl.t03;

import java.util.Scanner;

public class zuoye1 {
	public static void main(String[] args) {
		int a,b,c,d;
		Scanner input = new Scanner(System.in);
		System.out.println("输入3个数字：");
		a = input.nextInt();
		b = input.nextInt();
		c = input.nextInt();
		d = a > b ? a : b;
		d = c > d ? c : d;
		System.out.println("最大值为："+d);
		input.close();
	}

}
